package com.cis.education.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cis.common.annotation.Excel;
import com.cis.common.core.domain.BaseEntity;

/**
 * 教室管理对象 edu_classroom
 * 
 * @author 管理员
 * @date 2022-01-11
 */
public class EduClassroom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 教室地址 */
    @Excel(name = "教室地址")
    private String location;

    /** 教室容量 */
    @Excel(name = "教室容量")
    private Integer capacity;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setCapacity(Integer capacity) 
    {
        this.capacity = capacity;
    }

    public Integer getCapacity() 
    {
        return capacity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("location", getLocation())
            .append("capacity", getCapacity())
            .toString();
    }
}
